function stamp = ftimer()
    % this function transfers clock value to seconds 
    % etc. clock = [Year, Month, Day, Hour, Minute, Second] variavle saving current time
    % etc. clock = [2021, 6, 11, 0, 58, 55.1]
    % etc. time(clock) = 3600*0 + 58*60 + 55.1 
    clk = clock;
    stamp = clk(end) + 60*clk(end-1) + 3600*clk(end-2);
    return;